package siwi.map.android;

import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;


public class GPSAddrReceiverForRSS extends BroadcastReceiver {		// receive Broadcast
	
	@Override
	public void onReceive(Context context, Intent intent) {
		if(intent != null){
			
			Bundle bundle = intent.getExtras();
			Activity a = (Activity)context;
			if (a != null)
				((RegisterSecondStep)a).SetGPSAddr(bundle.getString("msg"));
		}
	}
	
}